<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head th:replace="_fragments :: head(~{::title})">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cenの客栈-关于Cen</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css">
    <link rel="stylesheet" href="../static/css/me.css">
</head>
<body>

<!--导航-->
<nav th:fragment="menu(n)" class="ui inverted attached segment m-padded-tb-mini m-shadow-small">
    <div class="ui container">
        <div class="ui inverted secondary stackable menu">
            <a href="#"><h2 class="ui teal header item" th:text="${session.topTitle}">Cenの客栈</h2></a>
            <a href="#" th:href="@{/}" class="m-item item m-mobile-hide " th:classappend="${n==1} ? 'active'"><i
                    class="star icon"></i>首页</a>
            <a href="#" th:href="@{/types/-1}" class="m-item item m-mobile-hide" th:classappend="${n==2} ? 'active'"><i
                    class=" list icon"></i>分类</a>
            <a href="#" th:href="@{/tags/-1}" class="m-item item m-mobile-hide" th:classappend="${n==3} ? 'active'"><i
                    class=" tags icon"></i>标签</a>
            <a href="#" th:href="@{/archives}" class="m-item item m-mobile-hide" th:classappend="${n==4} ? 'active'"><i
                    class=" calendar alternate outline icon"></i>时间轴</a>
            <a href="#" th:href="@{/picture}" class="m-item item m-mobile-hide" th:classappend="${n==5} ? 'active'"><i
                    class="heart icon"></i>照片墙</a>
            <a href="#" th:href="@{/about}" class="m-item item m-mobile-hide" th:classappend="${n==6} ? 'active'"><i
                    class="smile outline icon"></i>关于Cen</a>
            <!--<div class="right m-item item m-mobile-hide">
                <form name="search" action="#" th:action="@{/search}" method="post" target="_blank">
                    <div class="ui icon inverted transparent input m-margin-tb-tiny">
                        <input type="text" name="query" placeholder="搜索...." th:value="${query}">
                        <i onclick="document.forms['search'].submit()" class="search link icon"></i>
                    </div>
                </form>
            </div>-->
        </div>
    </div>
</nav>

<!--中间内容-->
<div class="m-container m-padded-tb-big animated fadeIn">

    <div class="ui container">
        <div class="ui stackable grid">
            <div class="eleven wide column">
                <div class="ui segment">
                    <img th:src="@{images/aboutbg.jpg}" src="../static/images/aboutbg.jpg" alt=""
                         class="ui rounded image">
                </div>
                <hr>
                <h3 style="font-family: 楷体">红豆生南国，春来发几枝。</h3>
                <h3 align="center" style="font-family: 楷体">愿君多采撷，此物最相思。</h3>
                <h3 align="right" style="font-family: 楷体">---- 《相思》</h3>
            </div>
            <div class="five wide column">
                <div class="ui top attached segment">
                    <div class="center aligned ui header">关于俺</div>
                    <div class="attached segment center aligned ui me-text">
                        <div>

                        </div>
                        <p th:utext="${session.aboutMeContent}">
                            我是替换内容
                        </p>

                    </div>
                    <!--个人标签-->
                    <div class="attached segment ui aligned">
                        <div class="me-margin-td-tiny ui label left pointing teal basic">编程</div>
                        <div class="me-margin-td-tiny ui label left pointing teal basic">游戏</div>
                        <div class="me-margin-td-tiny ui label left pointing teal basic">看剧</div>
                        <div class="me-margin-td-tiny ui label left pointing teal basic">吃！</div>
                        <div class="me-margin-td-tiny ui label left pointing teal basic">睡！</div>
                        <div class="me-margin-td-tiny ui label left pointing teal basic">...</div>
                    </div>
                    <!--技术标签-->
                    <div class="attached segment ui aligned ">
                        <div class="m-padded-tb-small m-padded-tb m-margin-top-small ui label left pointing orange basic">
                            JavaWeb
                        </div>
                        <div class="m-padded-tb-small m-padded-tb m-margin-top-small ui label left pointing orange basic">
                            SSM
                        </div>
                        <div class="m-padded-tb-small m-padded-tb m-margin-top-small ui label left pointing orange basic">
                            MySQL
                        </div>
                        <div class="m-padded-tb-small m-padded-tb m-margin-top-small ui label left pointing orange basic">
                            Linux
                        </div>
                        <div class="m-padded-tb-small m-padded-tb m-margin-top-small ui label left pointing orange basic">
                            计算机网络
                        </div>
                        <div class="m-padded-tb-small m-padded-tb m-margin-top-small ui label left pointing orange basic">
                            SpringBoot
                        </div>
                        <div class="m-padded-tb-small m-padded-tb m-margin-top-small ui label left pointing orange basic">
                            Redis
                        </div>
                        <div class="m-padded-tb-small m-padded-tb m-margin-top-small ui label left pointing orange basic">
                            ...
                        </div>
                    </div>
                    <!--联系-->
                    <div class="ui attached bottom segment center aligned">
                        <a target="_blank" title="微博主页" href="https://weibo.com" class="ui icon circular button">
                            <i class="weibo icon"></i>
                        </a>
                        <a target="_blank" class="ui qq icon circular button">
                            <i class="wechat icon"></i>
                        </a>
                        <a target="_blank" title="给我发送邮件" href="mailto:cenlaihaogmf@163.com"
                           class="ui icon circular button">
                            <i class="mail icon"></i>
                        </a>
                    </div>
                    <!--QQ二维码-->
                    <div class="ui qqQR flowing popup position top center  transition hidden">
                        <div class="ui orange basic label">
                            <div class="image">
                                <img th:src="@{/images/wechat.png}" alt="" class="ui rounded bordered image"
                                     style="width: 120px">
                            </div>
                        </div>
                    </div>

                </div>
            </div>

            <!--<div class="eleven wide column">
                <hr>
                <h3>红豆生南国，春来发几枝。</h3>
                <h3 align="center">愿君多采撷，此物最相思。</h3>
                <h3 align="right">---- 《相思》</h3>
            </div>-->

        </div>
    </div>
</div>

<br> <br> <br> <br>
<br>
<!--底部footer-->
<footer th:replace="_fragments :: footer" class="ui inverted vertical segment m-padded-tb-massive">

</footer>
<!--/*/<th:block th:replace="_fragments :: script">/*/-->
<script src="https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.js"></script>
<!--/*/</th:block>/*/-->

<script>
    $('.menu.toggle').click(function () {
        $('.m-item').toggleClass('m-mobile-hide');
    });

    /*微信二维码弹出*/
    $('.qq').popup({
        popup: $('.qqQR.popup'),
        position: 'bottom center'
    });

</script>

</body>
</html>